/**
 * @file Cylinder.h
 *
 * @author Tomasz Rudny (rudnyt@gmail.com)
 * @brief Visualization of a cylinder. Provides methods for rendering a freely
 * orientated cylinder. Can be also used to draw axis, vectors etc.
 */

#include <GL/glut.h>
#include "RSIM_INC.h"

#ifndef CYLINDER_H_
#define CYLINDER_H_

namespace graph {

class Cylinder {
private:
	float r, h;
	GLfloat colour[3];
public:
	Cylinder();
	Cylinder(double _r, double _h);
	void draw(const GLfloat m[]);
	void draw(const RSIM::Transform& tm);
};

} // namespace

#endif /* CYLINDER_H_ */
